//
// Decompiled by Jadx - 339ms
//
package s;

import android.app.Activity;
import androidx.appcompat.app.t;
import dq.b;
import fi.e;
import fi.w;
import fi.y;
import me.plusne.common.Http.Home;

public final class c implements w.e, w.b {
    public final e a;
    public final Activity b;

    public c(e eVar, Activity activity) {
        this.a = eVar;
        this.b = activity;
    }

    public final void g(w wVar, boolean z) {
        e eVar = this.a;
        eVar.getClass();
        Activity activity = this.b;
        w wVar2 = new w(activity);
        wVar2.aj = "PlusNE账号找回";
        wVar2.bb();
        wVar2.bj(e.INPUT);
        wVar2.ak = "输入邮箱验证码";
        wVar2.bb();
        wVar2.ap = false;
        wVar2.ah = 2;
        wVar2.r = "找回";
        wVar2.bb();
        wVar2.w = new c(eVar, activity);
        wVar2.bk();
    }

    public final void h(String str, String str2, w wVar, boolean z) {
        e eVar = this.a;
        eVar.getClass();
        if (!z) {
            wVar.az();
            return;
        }
        Activity activity = this.b;
        y.e(activity);
        String str3 = eVar.c.b;
        t.c().j(((Home) b.b(Home.class)).forgot(str3, str).subscribeWith(new d(eVar, activity, activity, wVar)));
    }
}
